package com.gz.moreaseManager.sys.service.impl;

import com.gz.moreaseManager.sys.entity.RoleMenu;
import com.gz.moreaseManager.sys.mapper.RoleMenuMapper;
import com.gz.moreaseManager.sys.service.IRoleMenuService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 角色菜单表 服务实现类
 * </p>
 *
 * @author wike
 * @since 2019-02-19
 */
@Service
public class RoleMenuServiceImpl extends ServiceImpl<RoleMenuMapper, RoleMenu> implements IRoleMenuService {

    @Resource
    private RoleMenuMapper roleMenuMapper;

    @Override
    public List<RoleMenu> findAllRoleMenuList() {
        return roleMenuMapper.findAllRoleMenuList();
    }
}
